<!DOCTYPE html>
<div style="columns: 4; height: 100px; width: 400px; column-gap: 0">
  <div id="before" style="display: inline-block; width: 50px; height: 300px; background: red"></div>
  <svg style="background: green; width: 80px; height: 80px"></svg>
</div>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script>
runAfterLayoutAndPaint(() => {
  before.style.display = 'none';
}, true);
</script>
